package com.mars.junit.mq;

import java.io.Serializable;
import java.util.Date;

public class MQEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private int id ;
	
	private String name ;
	
	private String email ;
	
	private Date createDate = new Date() ;

	public MQEntity() {
	}
	
	@Override
	public String toString() {
		return "MQEntity [id=" + id + ", name=" + name + ", email=" + email + ", createDate=" + createDate + "]";
	}

	public MQEntity(int id, String name, String email) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
